<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/7/9
 * Time: 11:45
 */

namespace app\controllers;

use Yii;
use yii\web\Controller;
use app\models\LoginForm;

class TempleController extends Controller
{
//    public $layout = false;
    public function actionIndex(){
        $this->layout = 'header';
//        echo Yii::$app->request->baseUrl;die;
        $model = new LoginForm();
        return $this->render('index');
    }
}